import 'package:copy_with_extension/copy_with_extension.dart';
import 'package:domain/model/article_domain_model.dart';
import 'package:domain/model/banner_domain_model.dart';

part 'state_and_events.g.dart';

@CopyWith()
class HomeTabFragmentUiState {
  final List<BannerDomainModel> banners;
  final List<ArticleDomainModel> articles;

  const HomeTabFragmentUiState({required this.banners, required this.articles});

  static HomeTabFragmentUiState initialState = HomeTabFragmentUiState(
    banners: [],
    articles: [],
  );
}

sealed class HomeTabFragmentEvent {
  const HomeTabFragmentEvent();
}

class HomeTabFragmentInitEvent extends HomeTabFragmentEvent {
  const HomeTabFragmentInitEvent();
}

class HomeTabFragmentEffect {
  const HomeTabFragmentEffect();
}
